﻿using B.S.DataBase.MyProject.Domain;
using B.S.DataBase.MyProject.ErrorCode;
using MediatR;
using System.ComponentModel.DataAnnotations;

namespace B.S.DataBase.MyWrite.API.Appicant.Command.QingJia
{
    public class ShenPiCreateCommand:IRequest<APIResult<object>>
    {


  


        /// <summary>
        /// 申请表id
        /// </summary>
        public int FormId { get; set; }

        /// <summary>
        /// 部门Id
        /// </summary>
        public int? DepartId { get; set; }

        /// <summary>
        /// 审批人姓名--登录人
        /// </summary>
        public string ShenPiName { get; set; }
        /// <summary>
        /// 审批人id
        /// </summary>
        public int ShenPiId { get; set; }
        /// <summary>
        /// 请假原因
        /// </summary>
        public string Reason { get; set; }

        /// <summary>
        /// 审批意见（同意或拒绝）   
        /// <summary>
        public string? ApprovalOpinion { get; set; }

        /// <summary>
        /// 审批意见(原因)
        /// </summary>
        public string? ApproveReson { get; set; }


        /// <summary>
        /// 暂时角色编号
        /// </summary>
        public int HaoId { get; set; }

      


    }
}
